home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / gadget / r3genopt.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.5 KB  |  56 lines

  1.  
  2. // JavaScript wrapper for r3genopt.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_GENERALOPTIONSGADGET_H = 1;
  7. include("oops/r3gadget.js")
  8.  
  9.  
  10. var R3CLID_GENERALOPTIONSGADGET = 620;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Private method used as a callback method for enumerating installed programming languages (see r3prglng/R3CPLM_ENUMLANGUAGES).
  16. //      Because this is 'callback' method, parameters for this method are specified by the enumlanguages method,
  17. //      which are:
  18. // Returns: Boolean, TRUE continues enumeration, false cancels.
  19. // p1: String, symbolic name of the installed language (such as Basic, Tcl, etc).
  20. // p2: Integer, class id of the installed languaged
  21. // p3: Object, points to 'self'.
  22.  
  23. R3GENOPTGM_ADDLANGUAGE = 620000;
  24.  
  25. function mR3GENOPTGM_ADDLANGUAGE(p1, p2, p3) {
  26.   return   DoA3(this.r3obj, 620000, p1, R3TID_STRING, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
  27. }
  28.  
  29. // Description: For mapchanges.
  30. // p3: Integer, ordnum of the selected language
  31.  
  32. R3GENOPTGM_SETLANGUAGE = 620001;
  33.  
  34. function mR3GENOPTGM_SETLANGUAGE(p3) {
  35.   DoA(this.r3obj, 620001, p3, R3TID_INTEGER, 0);
  36. }
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43. function r3Generaloptionsgadget () { 
  44.    this.base = r3God;
  45.    if(arguments.length) {
  46.       this.base(R3CLID_GENERALOPTIONSGADGET, arguments);
  47.    }
  48.    // Methods
  49.    this.ADDLANGUAGE=mR3GENOPTGM_ADDLANGUAGE;
  50.    this.SETLANGUAGE=mR3GENOPTGM_SETLANGUAGE;
  51.  
  52.    // Attributes
  53. }
  54.  
  55. r3Generaloptionsgadget.prototype=new r3Gadget;
  56. // r3genopt.h_H